import Button from './packages/Button'
import Input from './packages/Input'
import Link from './packages/Link'
import Option from './packages/Option'
import Select from './packages/Select'
// 总的样式
import './style/index.scss';

const components = [
	Button,
	Input,
	Link,
	Option,
	Select,
];
const install = (Vue) => {
	components.forEach(component => {
			Vue.component(component.name, component);
		});
};

let ygbh = {
	install: install
};

export default ygbh;

export {
	Button,
	Input,
	Link,
	Option,
	Select,
};

export { install };